package cn.kgc{
  package sacla{
    //编写测试类
    object ClassDemo03{
      def main(args: Array[String]): Unit = {
        println(sacla.name)
        sacla.sayHello()
      }
    }
  }
  package object sacla{
    val name="张三"
    def sayHello() = println("Hello,Scala")
  }
}
